package org.pp.admin.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.pp.annotations.SearchField;
import org.pp.dto.PageDto;

@Data
public class PpOrderPage extends PageDto {

    @Schema(description = "商品名称，冗余，用于搜索")
    @SearchField(value = "names",operator = "%")
    private String names;

    @Schema(description = "订单状态 -1已取消 0 待支付 1待发货 2待收货 3待评价 4已评价")
    @SearchField("status")
    private Integer status;

    @Schema(description = "订单号")
    @SearchField(value = "order_no",operator = "=")
    private String orderNo;
}
